-- GENERATED SPELL FOR [Snowfall Glade Wolvar] --


function spell0_26198(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(6533,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26198', 2252, 1)
end

function spell1_26198(pUnit, Event) --@Throw Spear,n/a--
pUnit:FullCastSpellOnTarget(43413,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26198', 1500, 1)
end

function Sorts_26198(pUnit, Event)
local choix_sorts_26198 = math.random(0, 1)
if choix_sorts_26198 == 0 then
pUnit:RegisterEvent('spell0_26198', 1, 1)
end
if choix_sorts_26198 == 1 then
pUnit:RegisterEvent('spell1_26198', 1, 1)
end
end

function mob26198_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26198', math.random(1500, 3000), 1)
end

function mob26198_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26198_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26198_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26198, 1, 'mob26198_Action')
RegisterUnitEvent(26198, 2, 'mob26198_Leave')
RegisterUnitEvent(26198, 3, 'mob26198_Kill')
RegisterUnitEvent(26198, 4, 'mob26198_Die')
